
package com.cr.backbone.model;

import java.util.Date;

import com.cr.backbone.hibenate.Model;




/**
 * AutoLogger 自动日志明细
 */

public class AutoLogger extends Model  {
	private static final long serialVersionUID = 1L;


	private Long id;
	public Long getId(){return id;}
	public void setId(Long id){this.id = id;}
	
    // Fields    
	
	//日志内容
	private String operateActionMethod;		//操作功能方法. 例如： /admin/user/save
	private String operateBusinessContent;	//操作功能描述
	private String operateDateObject;		//操作功能数据对象。例如：question:1,2,3,4,5,6,7
	
	//操作者
	private Date operateDate;		//操作时刻
	private String operateUserName;	//真实姓名
	private String operateUserId;	//用户ID
	private String operateUserIp;	//访问IP
	private String sessionId;		//会话ID
	
	//所处环境
	private String serverName;		//当前服务器
 	private String serverIP;		//当前服务器IP

 	
 	//命名空间
 	private String scene;		//场景(后台、论坛、学习中心);	例如：/admin/user;截取 /admin
 	private String nameSpace;	//命名空间;					例如：/admin/user;截取 /admin/user
 	private String method;		//操作（save\\update）;		例如：save	
 	
    // Constructors

    /** default constructor */
    public AutoLogger() {
    }

    
    /** full constructor */
    public AutoLogger(Long id) {
		this.setId(id);
	}
	public String getOperateActionMethod() {
		return operateActionMethod;
	}
	public void setOperateActionMethod(String operateActionMethod) {
		this.operateActionMethod = operateActionMethod;
	}
	public String getOperateBusinessContent() {
		return operateBusinessContent;
	}
	public void setOperateBusinessContent(String operateBusinessContent) {
		this.operateBusinessContent = operateBusinessContent;
	}
	public String getOperateDateObject() {
		return operateDateObject;
	}
	public void setOperateDateObject(String operateDateObject) {
		this.operateDateObject = operateDateObject;
	}
	public Date getOperateDate() {
		return operateDate;
	}
	public void setOperateDate(Date operateDate) {
		this.operateDate = operateDate;
	}
	public String getOperateUserName() {
		return operateUserName;
	}
	public void setOperateUserName(String operateUserName) {
		this.operateUserName = operateUserName;
	}
	public String getOperateUserId() {
		return operateUserId;
	}
	public void setOperateUserId(String operateUserId) {
		this.operateUserId = operateUserId;
	}
	public String getOperateUserIp() {
		return operateUserIp;
	}
	public void setOperateUserIp(String operateUserIp) {
		this.operateUserIp = operateUserIp;
	}
	public String getSessionId() {
		return sessionId;
	}
	public void setSessionId(String sessionId) {
		this.sessionId = sessionId;
	}
	public String getServerName() {
		return serverName;
	}
	public void setServerName(String serverName) {
		this.serverName = serverName;
	}
	public String getServerIP() {
		return serverIP;
	}
	public void setServerIP(String serverIP) {
		this.serverIP = serverIP;
	}
	public String getScene() {
		return scene;
	}
	public void setScene(String scene) {
		this.scene = scene;
	}
	public String getNameSpace() {
		return nameSpace;
	}
	public void setNameSpace(String nameSpace) {
		this.nameSpace = nameSpace;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}

   
    // Property accessors

	


}